package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品销量纪录对象 zsyh_parts_rebate
 * 
 * @author yuexl
 * @date 2021-12-24
 */
public class ZsyhPartsRebate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 厂家id */
    @Excel(name = "厂家id")
    private String factoryId;

    /** 产品id */
    @Excel(name = "产品id")
    private String partsId;

    /** 规格id */
    @Excel(name = "规格id")
    private String attributeId;

    /** 核算销量 */
    @Excel(name = "核算销量")
    private BigDecimal rebateNumber;

    /** 核算单价 */
    @Excel(name = "核算单价")
    private BigDecimal rebatePrice;

    /** 核算服务费 */
    @Excel(name = "核算服务费")
    private BigDecimal rebateMoney;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createId;

    private String salesId;

    private String factoryName;

    private String partsName;

    private String attributeName;

    private String attributeLogo;

    private int periodYear;

    private int periodMonth;

    private String rebateRemark;

    private String delFlags;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setFactoryId(String factoryId) 
    {
        this.factoryId = factoryId;
    }

    public String getFactoryId() 
    {
        return factoryId;
    }
    public void setPartsId(String partsId) 
    {
        this.partsId = partsId;
    }

    public String getPartsId() 
    {
        return partsId;
    }
    public void setAttributeId(String attributeId) 
    {
        this.attributeId = attributeId;
    }

    public String getAttributeId() 
    {
        return attributeId;
    }

    public void setRebatePrice(BigDecimal rebatePrice) 
    {
        this.rebatePrice = rebatePrice;
    }

    public BigDecimal getRebatePrice() 
    {
        return rebatePrice;
    }
    public void setRebateMoney(BigDecimal rebateMoney) 
    {
        this.rebateMoney = rebateMoney;
    }

    public BigDecimal getRebateMoney() 
    {
        return rebateMoney;
    }
    public void setCreateId(String createId) 
    {
        this.createId = createId;
    }

    public String getCreateId() 
    {
        return createId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryId", getFactoryId())
            .append("partsId", getPartsId())
            .append("attributeId", getAttributeId())
            .append("rebateNumber", getRebateNumber())
            .append("rebatePrice", getRebatePrice())
            .append("rebateMoney", getRebateMoney())
            .append("createId", getCreateId())
            .append("createTime", getCreateTime())
            .toString();
    }

    public String getSalesId() {
        return salesId;
    }

    public void setSalesId(String salesId) {
        this.salesId = salesId;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public String getPartsName() {
        return partsName;
    }

    public void setPartsName(String partsName) {
        this.partsName = partsName;
    }

    public String getAttributeName() {
        return attributeName;
    }

    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName;
    }

    public String getAttributeLogo() {
        return attributeLogo;
    }

    public void setAttributeLogo(String attributeLogo) {
        this.attributeLogo = attributeLogo;
    }

    public int getPeriodYear() {
        return periodYear;
    }

    public void setPeriodYear(int periodYear) {
        this.periodYear = periodYear;
    }

    public int getPeriodMonth() {
        return periodMonth;
    }

    public void setPeriodMonth(int periodMonth) {
        this.periodMonth = periodMonth;
    }

    public String getRebateRemark() {
        return rebateRemark;
    }

    public void setRebateRemark(String rebateRemark) {
        this.rebateRemark = rebateRemark;
    }

    public BigDecimal getRebateNumber() {
        return rebateNumber;
    }

    public void setRebateNumber(BigDecimal rebateNumber) {
        this.rebateNumber = rebateNumber;
    }

    public String getDelFlags() {
        return delFlags;
    }

    public void setDelFlags(String delFlags) {
        this.delFlags = delFlags;
    }
}
